Add profiles rename command to allow renaming profile names - #62
Merged
Conversation
Implement workato profiles rename command with positional arguments and confirmation prompt. The command: - Takes old_name and new_name as positional arguments - Shows confirmation prompt before renaming - Handles token migration from old to new profile via keyring - Updates current profile if renaming the current profile - Provides clear error messages for edge cases Added comprehensive test coverage for: - Successful rename - Renaming current profile - Profile not found - New name already exists - User cancellation - Keyring failure handling Fixes #113 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
shihanpan
requested review from
hovu96 and
j-madrone
and removed request for
hovu96
February 12, 2026 21:42
hovu96
requested changes
Feb 12, 2026
hovu96
left a comment
Contributor
There was a problem hiding this comment.
please add json mode as well (we'll need it in the vscode extension)
shihanpan
force-pushed
the
113-profiles-rename
branch
4 times, most recently
from
February 13, 2026 16:23
11a9a6f to
54b394f
Compare
Contributor
Author
workato profiles rename ooo ppp --output-mode json |
shihanpan
force-pushed
the
113-profiles-rename
branch
from
February 13, 2026 19:12
54b394f to
71dc5c3
Compare
shihanpan
force-pushed
the
113-profiles-rename
branch
from
February 13, 2026 19:15
71dc5c3 to
0415378
Compare
hovu96
approved these changes
Feb 14, 2026
shihanpan
added a commit
that referenced
this pull request
Feb 23, 2026
* Add profiles rename command to allow renaming profile names Implement workato profiles rename command with positional arguments and confirmation prompt. The command: - Takes old_name and new_name as positional arguments - Shows confirmation prompt before renaming - Handles token migration from old to new profile via keyring - Updates current profile if renaming the current profile - Provides clear error messages for edge cases Added comprehensive test coverage for: - Successful rename - Renaming current profile - Profile not found - New name already exists - User cancellation - Keyring failure handling Fixes #113 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * added workatoenv update when profile is renamed * added output mode json --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement workato profiles rename command with positional arguments and confirmation prompt. The command:
Added comprehensive test coverage for:
Fixes #113